Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi everybody,
iam using 32bit centos 6.2 on my machine, and i want to create hidden user 'test' , i mean to say while iam starting my centos at GUI mode, at that time that username 'test' should not appear at list of users, only i can use that username is command line. logging in through other username.
i have try this:
#useradd test
#passwd test
#passwd -l test
and i restart the system at that time username 'test' doen't appears but while iam trying to switch user test in command line such error occurs:
$su test
Password:
su: incorrect password
so i was not able to login. After that i know
passwd -l test = it locks the user 'test'
passwd -u test = it unlocks the user 'test'
can anybody guide me or suggest me how to create hidden account in my local machine, i'll be greatful and any kinds of ideas, suggestions and guidelines are welcome.
Use Users and Groups (AKA User Manager) to create a user named test make sure to tick Specify user ID manually and choose a number below 500 but make sure that it has not been used by an other process/system user
IMO UserID 350 is a good choice
thank you,
frankbell and ulkoma for your reply. i have created a user 'fatty' giving uid 350 and it does not appears in login list. i can ssh using 'fatty' but when i try to halt, reboot or kill any process, such error occours.
and try again, same error occours before i add fatty users in 'root' group. can anyone guide me, suggest me how to reboot,halt and kill the unwanted process of remote machine using hidden account. i'll be greatful. any kinds of ideas suggestions are welcome.
You're trying to have a non-root user do things that only root can do. Adding a user to the root group does not make the user equivalent to root (and is probably a bad idea, to boot). If you know the root password, you can always use tyhe su command to switch to root. Otherwise, read up on sudo and set the user up in sudoers to be able to execute the commands you want with root privileges.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.