Tag: Linux
Write and Append Permission
July 30, 2008
Allows write opening of a file only append mode chattr +a file
pwck Command
July 27, 2008
check correct syntax and file format of ‘/etc/passwd’ and users existence pwck
grpck Command
July 25, 2008
Check correct syntax and file format of ‘/etc/group’ and groups existence grpck
Change User Attributes
July 22, 2008
Change a user’s attributes usermod -c “User FTP” -g system -d /ftp/user1 -s /bin/nologin user1
Create New User
July 21, 2008
Create a new user belongs “admin” group called ‘user1’ useradd -c “Name Surname ” -g admin -d /home/user1 -s /bin/bash…
Package Listing in Debian
July 16, 2008
Show space used by deb packages installed sorted by size (ubuntu, debian and like) dpkg-query -W -f='{Installed-Size;10}t{Package}n’ | sort -k1,1n
Recent Comments