04-25-2012
how to create hidden account in centos
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.
THANK YOU IN ADVANCE
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Please could some advise how to create a unix account, from the root account.
thanks you (2 Replies)
Discussion started by: venhart
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I am a newbie to Linux and I want to create a user which can only execute network config commands like ifconfig and ping(to check the config). The following is what I did but failed.
1) Created a group called 'netconfig'.
2) added a user named 'user'.
3) added user to the 'netconfig'... (4 Replies)
Discussion started by: ankushpandit
4 Replies
3. Solaris
How to create sftp account in UNIX end. Anyone guide me on this. (2 Replies)
Discussion started by: vijill
2 Replies
4. Solaris
I want create user. That user should be login to any server without asking password. How? tell me in detail.
:wall: (3 Replies)
Discussion started by: Navkreddy
3 Replies
5. Debian
I make many service in Centos 6.3 so I clone and copy any edition to do, but I don't see a NIC eth0, What I have to do to used eth0 ?, and how to create it ?
It some picture:
http://i1055.photobucket.com/albums/s505/vn_photo/2222.jpg
http://i1055.photobucket.com/albums/s505/vn_photo/1111.jpg
... (1 Reply)
Discussion started by: ilinux9
1 Replies
6. Linux
Hello,
I have install 2 HDD in my server and now installing the Centos6.4.
I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list.
Same problem if i tried to make Software RAID with creating LVM.
Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies
7. AIX
Hi
I would like to create another root account, for example root2. I added a new user named root2 and set it's uid and gid ( in /etc/passwd ) to 0. Then I logged in ( account root2 ) and the server asked to change the password, so I changed.
And the problem happend. The password of both root... (15 Replies)
Discussion started by: bobochacha29
15 Replies
8. Shell Programming and Scripting
Hello.
I use this command :
rsync -av --include=".*" --dry-run "$A_FULL_PATH_S" "$A_FULL_PATH_D"The data comes from the output of a find command.
And no full source directories are in use, only some files.
Source example... (2 Replies)
Discussion started by: jcdole
2 Replies
LEARN ABOUT DEBIAN
dtc_install_centos
dtc_install_centos(8) System Manager's Manual dtc_install_centos(8)
NAME
dtc_install_centos - bootstrap a CentOS install to use in a chroot or VM
SYNOPSIS
dtc_install_centos <install root> <yum environment>
DESCRIPTION
This shell script is part of the dtc-xen package, generally to be used by the dtc panel to install a new a Xen VPS server. This script is
called by dtc_reinstall_os when the user chooses to install the CentOS operating system.
How it works: it generates a temporary yum configuration in the yum environment directory, that directs yum to act inside the install root
instead of in the base system; then it kindly requests yum to install the basesystem, centos-release and yum packages onto it. Yum then
uses the configuration to download the required (usually, security-updated) packages and then perform the RPM installation process under
the install root.
It requires both RPM and yum. It does work under Debian (it was developed in Ubuntu first). It should also work on RPM-based systems
without destroying the system-wide RPM and yum configurations.
OPTION
<install root>
Target directory where CentOS will be deployed. Must exist beforehand.
<yum environment>
Directory where yum will store the repository manifests and configuration. Will be automatically created. Cached RPMs and manifests will
be left, as usual, in a directory var/cache/yum inside the install root.
EXAMPLE
dtc_install_centos /root/yum /xen/13
This will setup the operating system in /xen/13, with the CentOS configuration folder in /root/yum.
BUGS
It's limited to CentOS 5 at the moment.
It must be run as root.
Under some circumstances, the installation process itself may kill processes running on the host machine. The chroot yum does should be
sufficient to avoid this, but we haven't been able, yet, to ascertain why this fails sometimes.
SEE ALSO
dtc_reinstall_os(8)
VERSION
This documentation describes dtc_install_os version 0.3.1.
See http://www.gplhost.com/software-dtc-xen.html for updates.
dtc_install_centos(8)