Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all , how to modify or change USEr /Group id in Linux.
and how to kill a user after specific period of time , for example i want that Dhanaiser should not login for ever on system after August 30 2013 ,,,
Yes there is but not a single command AFAIK. you have to schedule the task to remove the user after a specific time, a utility like cron or at can be used with
userdel -f -r [username]
but i wont recommend that because before removing a user you should know:
1. whether there is any process which is owned by the user and currently running.
2. whether there any file or dir created and owned by the user.
Although these can be handled afterwards too but it is always good to have caution.