- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- su another user
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:28 PM
08-06-2003 05:28 PM
su another user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:44 PM
08-06-2003 05:44 PM
Re: su another user
Can you switch from userA to root ? (using su -)
The command you use as userA is "su - userB" (without the quotes), right ?
regards
Wouter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 05:47 PM
08-06-2003 05:47 PM
Re: su another user
You shouldn't have to worry about 'groups' at all.
The only limitation could possibly be trying to 'su' to 'root' (as you can limit this to a given group or specific users).
Do you get any error's showing up in the log files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 06:46 PM
08-06-2003 06:46 PM
Re: su another user
Also publish the log output.
/var/log/lastlog should contain useful information.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 08:16 PM
08-06-2003 08:16 PM
Re: su another user
Another question, the below is one of the statement on the /etc/shadow file ,
# vi /etc/shadow
User_B:!!:12251:0:99999:7:::
what is the meaning of the password field "!!" ? is it null password ? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 08:31 PM
08-06-2003 08:31 PM
Re: su another user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2003 12:00 PM
08-14-2003 12:00 PM
Re: su another user
You don't really want to do that, from a security perspective, though.
To allow just user A to su to user B with no password, look at using "sudo" - http://www.sudo.ws/sudo/
If you want user A to run commands as user B and don't want to use sudo, you can use a .rhosts file with rsh (yuck!) or look at ssh with no passphrase in rsa public/private key files...